//
//  LPRequestManager.h
//  ZhongWangYuanApp
//
//  Created by liuyingping on 2018/6/3.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LPRequestManager : NSObject
#pragma mark - 我的课程
/**
 isfinished: 空值就是全部    0是没完成    1是完成
 year: 年份
 */
+ (void)request_getMyWaitCoursewareWithstudentid:(NSString *)studentid pageindex:(NSString *)pageindex isfinished:(NSString *)isfinished year:(NSString *)year successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

#pragma mark - 获取最新课程/推荐课程/最热课程
+ (void)request_getcoursewarelistforwcateWithsearchType:(NSString *)searchType pageindex:(NSString *)pageindex pagesize:(NSString *)pagesize successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

#pragma mark - 搜索
/**
 isfinished: 空值就是全部    0是没完成    1是完成
 condation: 搜索文字
 twocate: 二级分类
 onecate： 一级分类
 year: 年份
 */
+ (void)request_getcoursewarelistforwcateWithcondation:(NSString *)condation pageindex:(NSString *)pageindex threecate:(NSString *)threecate twocate:(NSString *)twocate onecate:(NSString *)onecate year:(NSString *)year successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

#pragma mark - 获取学课列表
+ (void)request_getMyClassAndCoursewareWithsuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

#pragma mark - 获取我的收藏
+ (void)request_getMyCollectionClassListUseWeicatAppWithpageindex: (NSInteger)pageindex year:(NSString *)year successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

#pragma mark - 获取我的专题
/**
 status: nil就是全部    0是没完成    1是完成
 year: nil就是全部  
 */
+ (void)request_getMyClassListUseWeicatAppWithpageindex: (NSInteger)pageindex graduatestatus:(NSString *)status year:(NSString *)year successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;
#pragma mark - 未报名专题
+ (void)request_getNOApplyInfWithpageindex: (NSInteger)pageindex successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

#pragma mark - 获取我的考试
+ (void)request_getIfFinishClassInfoUseWeicatAppWithsuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;
#pragma mark - 获取我的学时
+ (void)request_getmyclassscoreWithyear:(NSString *)year pageindex:(NSInteger)pageindex successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;
#pragma mark - 获取首页专题
+(void)request_getMustOrChoiceClassDataListForWCateWithpageindex: (NSInteger)pageindex ifmustclass:(NSString *)ifmustclass pagesize:(NSInteger)pagesize  successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;
#pragma mark - 请求司局级必修专题
+(void)request_GetPlanInClassListWithpageindex: (NSInteger)pageindex pagesize:(NSInteger)pagesize  successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

#pragma mark - 获取我的数据
+(void)request_getUserStudyTimeWithsuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

#pragma mark - 获取课程、专题播放列表，已完成列表，基本信息
//coursewareid 课程ID
//classid专题ID
//enableplaylist true启用获取播放列表，false 不获取播放列表数据

+(void)request_getCoursewareVideoplayWithcoursewareid:(NSString *)coursewareid classid:(NSString *)classid enableplaylist:(NSString *)enableplaylist successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;


#pragma mark - 课程详情里面已完成课程

+(void)request_selectFinishedCoursewareWithpageindex:(NSInteger)pageindex  successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

#pragma mark -获取二级分类
+(void)request_myStudyAllCourseTwoCategoryWithSuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;
#pragma mark -获取分类
+(void)request_mystudyallcoursecategoryWithfid:(NSString *)fid  successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;


#pragma mark -取消加入待学
+(void)request_deleteToBeStudiedUseWeicatAppWithcoursewareid:(NSString *)coursewareid  successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;


#pragma mark -首页轮播接口
+(void)request_getAllbannerImgForAppWithsuccessBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;


#pragma mark - 首页线上线下接口
+(void)request_getIsOnLineAndOfflineClassListWithpageindex:(NSInteger)pageindex pagesize:(NSInteger)pagesize successBlock:(NetBlock)successBlock failBlock:(NetBlock)failBlock;

@end
